package com.food.admin.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
@ApiModel("修改管理员权限参数对象")
public class AccountAuthorizationForm {
    @NotNull
    @Min(1)
    @ApiModelProperty("ID")
    private Integer accountId;
    @NotNull
    @Min(1)
    @Max(4)
    @ApiModelProperty("权利等级")
    private Integer accountPowerId;
}
